package com.aaa.behind.controller;

import com.aaa.behind.service.NumberUserService;
import com.aaa.util.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("user")
public class NumberUserController {


    @Autowired
    private NumberUserService numberUserService;

    @GetMapping("numberUser")
    public Result numberUser(){
        return new Result(numberUserService.NumberUser());
    }
}
